<!DOCTYPE html PUBLIC 
	"-//W3C//DTD XHTML 1.1 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="java.util.Enumeration"%>
<%@ include file="/common/taglibs.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>sanshang</title>
<link href="${base}/style/blue.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<script src="${base}/scripts/jquery.js" type="text/javascript"></script>
<decorator:head></decorator:head>
<%
	Enumeration d = request.getHeaders("referer");
	String back = "";
	while (d.hasMoreElements()) {
		Object o = d.nextElement();
		back = o.toString();
	}
%>
<script type="text/javascript">
$(function() {
	$("a").click(function(){
		 var a=$(this).attr("href");
		 if(a==""){
		  //$(this).attr("href","http://www.baidu.com");
		  alert("你没有权限访问！");
		  return false;
		 }
	 })
});
		function back(){
			window.navigate('<%=back%>');
		}
	</script>
</head>
<body>
<A name="top"></A>
<div id="container">
<div id="header">
<div id="subProjectsNavBar">
<%=back%>
<security:authorize	ifNotGranted="ROLE_ANONYMOUS">欢迎:<security:authentication	property="name" />登录系统,登陆时间：<security:authentication property="principal.loginTime" /></security:authorize>
</div>
</div>
<div id="content">
<div id="leftColumn">
<div id="navigation">
<h5>功能演示</h5>
<ul>
	<li class="currentLink"><a title="首页" href="${base}/demo/success.shtml">首页</a></li>
	<li><a title="全文检索" href="<security:authorize ifAnyGranted="RES_ARTICLE_SEARCH">${base}/article/article/search.shtml </security:authorize>">全文检索</a></li>
	<li><a title="文件管理" href="<security:authorize ifAnyGranted="RES_FILE_INPUT">${base}/demo/up-or-down.shtml</security:authorize>">文件管理</a></li>
	<li><a title="文章管理" href="<security:authorize ifAnyGranted="RES_ARTICLE_VIEW">${base}/article/article.shtml</security:authorize>">文章管理</a></li>
</ul>
<h5>订餐演示</h5>
<ul>
	<li><a title="订餐" href="${base}/m/order/book.shtml">订餐</a></li>
	<li><a title="产品浏览" href="${base}/m/product.shtml">产品浏览</a></li>
	<li><a title="品种浏览" href="${base}/m/variety.shtml">品种浏览</a></li>
	<li><a title="供应商浏览" href="${base}/m/supplier.shtml">供应商浏览</a></li>
	<li><a title="订单浏览" href="${base}/m/order.shtml">订单浏览</a></li>
</ul>
<h5>系统管理</h5>
<ul>
	<li><a title="字典表" href="<security:authorize ifAnyGranted="RES_DICTIONARY_ALL">${base}/dictionary/dictionary.shtml</security:authorize>">字典表</a></li>
	<li><a title="用户管理" href="<security:authorize ifAnyGranted="RES_USER_VIEW">${base}/system/user.shtml</security:authorize>">用户管理</a></li>
	<li><a title="角色管理" href="<security:authorize ifAnyGranted="RES_ROLE_VIEW">${base}/system/role.shtml</security:authorize>">角色管理</a></li>
	<li><a title="资源管理" href="<security:authorize ifAnyGranted="RES_RESOURCE_VIEW">${base}/system/resource.shtml</security:authorize>">资源管理</a></li>
	<li><a title="退出系统" href="${base}/j_spring_security_logout">退出系统</a></li>
</ul>
</div>
</div>
<div id="rightColumn">

<div class='wikimodel-document'>
<decorator:body></decorator:body>
</div>


</div>
<div id="endContent"></div>
</div>
<div id="footer">&copy;2009 Sanshang, Inc. <a
	href="mailto:994155125@qq.com">994155125@qq.com</a></div>
</div>
</body>
</html>